#include "DisplayTask.h"
#include "bsp_tim.h"
#include "bsp_led.h"

volatile uint32_t time_flag = 0;
uint8_t i,j;
volatile float t = 0;
volatile uint8_t TrigFlag = 0;
	
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
{
	if(htim->Instance == htim3.Instance)
	{
		if(time_flag%1000 == 0)
		{
			led_toggle();
			TrigFlag = 1;
		}
		
		time_flag++;
	}
	
}

